package com.zaicheng.cloud.loadbanlancer.util;/*
 @author zaicheng
 @version 1.0
 @date 2022-04-19
 @email zzc15847256473@163.com
 */

import com.google.common.hash.HashCode;

import java.io.Serializable;

public class Pair<E1,E2> implements Serializable {

    private E1 mFirst;

    private E2 mSecond;

    public Pair(E1 mFirst, E2 mSecond) {
        this.mFirst = mFirst;
        this.mSecond = mSecond;
    }

    public  E1  first(){
        return this.mFirst;
    }

    public  E2 second(){
        return  this.mSecond;
    }

    public void setmFirst(E1 first) {
        this.mFirst = first;
    }

    public void setmSecond(E2 second) {
        this.mSecond = second;
    }

//    @Override
//    public  boolean equals(Object obj){
//
//        if (obj == this){
//            return true;
//        }else if (obj != null && obj.getClass() == this.getClass()){
//            Pair pair  = (Pair) obj;
//            return HashCode.
//        }
//
//    }



}
